<!DOCTYPE HTML>
<html lang="en">
  <head>
    {% include head.html %}
  </head>
  <body>
    <div class="wrapper">

      {% include header.html %}

      <div id="content" class="row">

        {% include sidebar.html %}

        <main id="main" class="main" data-swiftype-index='true'>
          {% unless page.no_header %}
            <aside class="improve-page" data-swiftype-index='false'><a href="{{ site.docs_github }}edit/master/{{ page.path }}" target="_blank" title="Edit this page on GitHub" class="button-pen" data-proofer-ignore>Improve this page on GitHub</a></aside>
            <h1 class="title">{{ page.title }}</h1>
          {% endunless %}

          {% if page.deploy == 'v1' %}
            <blockquote>
              <p>
                This page documents deployments using dpl v1 which currently is the default
                version. The next major version dpl v2 will be released soon, and we recommend
                starting to use it. Please see <a href="https://blog.travis-ci.com/2019-08-27-deployment-tooling-dpl-v2-preview-release">our blog post</a>
                for details. <a href="/user/deployment-v2">dpl v2 documentation can be found here</a>.
              </p>
            </blockquote>
          {% elsif page.deploy == 'v2' %}
            <blockquote class="alpha">
              <p>
                This page documents deployments using the next major version dpl v2 which
                currently is in a preview release phase. Please see <a href="https://blog.travis-ci.com/2019-08-27-deployment-tooling-dpl-v2-preview-release">our blog post</a>
                for details. The current default version is dpl v1.
                Check <a href="/user/deployment">dpl v1 documentation here</a>.
              </p>
            </blockquote>
          {% endif %}


          {% unless page.no_toc %}
            <div id="toc" class="toc">
              {% include toc.html h_min=2 h_max=2 class="list-language" santize=true  html=content %}
            </div>
          {% endunless%}

          {% include anchor_headings.html html=content anchorClass="toc-anchor" anchorBody="#" %}

        </main>
      </div><!-- /#content -->

      {% include footer.html %}
    </div><!-- /.wrapper -->
  </body>
</html>
